package com.car.framework;

import java.io.Serializable;

import com.car.image.SerializeBitmap;

import android.graphics.BitmapFactory;

class BitmapMapping implements IDataMapping {

	@Override
	public Serializable Mapping(byte[] content) {
		SerializeBitmap sBitmap = new SerializeBitmap();
		sBitmap.setBmpInstance(BitmapFactory.decodeByteArray(content, 0, content.length));
		return sBitmap;
	}

}
